<div class="confirm-box">
    <h2 class="title is-4 has-text-danger mb-4">确认删除操作</h2>

    <div class="content">
        <p>即将永久删除{{ type }}：</p>
        <p class="has-text-weight-bold">{{ object }}</p>

        <!-- 通用警告 -->
        <div class="notification is-warning mt-3">
            该操作不可撤销，请谨慎操作！
        </div>
    </div>

    <form method="post">
        {% csrf_token %}
        <div class="field is-grouped is-grouped-right">
            <div class="control">
                <button type="submit" class="button is-danger">确认删除</button>
            </div>
            <div class="control">
                <a href="{{ request.META.HTTP_REFERER }}" class="button is-light">取消返回</a>
            </div>
        </div>
    </form>
</div>